package com.weixing.mall.provider.api.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

/**
 * @Author: kfc
 * @Description: 订单结算状态<br />
 * Date:Create in 2019/9/10 14:37
 * @Modified By:
 */

@NoArgsConstructor
public enum SettleStateEnum implements IBaseEnum<Integer> {
    NOT_SETTLE(1, "未结算"),
    RAISE_SETTLE(2, "发起结算"),
    SETTLED(3, "已结算"),
    SETTLE_FAILD(4,"结算失败");
    private int value;
    private String desp;

    SettleStateEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }


    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
